package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Student;


public interface StudentService {
    //分页查询
    PageInfo<Student> pageQuery(Integer pageNum,Integer pageSize);
    //根据id查询
    Student findById(Integer id);
    //添加学生
    int save(Student student);
}
